package com.heima.api.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

public interface AdSensitiveControllerApi {
    //根据名称分页查询敏感词列表
    public ResponseResult list(SensitiveDto sensitiveDto);
    //新增敏感词
    public ResponseResult save(AdSensitive adSensitive);
    //修改敏感词
    public ResponseResult update(AdSensitive adSensitive);
    //删除敏感词
    public ResponseResult deleteById(Integer id);
}
